Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Bounding Boxes

A bounding box is a rectangular box, aligned with the coordinate axes, that completely encloses an object. A bounding box is defined by the TQ3BoundingBox data type.

typedef struct TQ3BoundingBox {
    TQ3Point3D                          min;
    TQ3Point3D                          max;
    TQ3Boolean                          isEmpty;
} TQ3BoundingBox;
min
The lower-left corner of the bounding box.
max
The upper-right corner of the bounding box.
isEmpty
A Boolean value that specifies whether the bounding box is empty ( kQ3True ) or not ( kQ3False ). If this field contains the value kQ3True , the other field of this structure are invalid.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |